import {base,path} from "./path";
import instance from "../utils/request";

const api = {
    getList() {
        return instance.get(path.getList);
    },

    addMessage(message) {
        return instance.post(path.addMessage, {message:message});
    }
};

export default api;